package com.wzdigit.wms.basic.domain.basic;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzdigit.framework.orm.model.BasicDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓库属性表：
 * 用于存放库位属性信息，业务主键：库位ID+属性+值
 * </p>
 *
 * @author 
 * @since 2020-12-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_LOCATION_ATTR")
public class LocationAttr extends BasicDomain {

	private static final long serialVersionUID = 6861864425464014452L;

	/**
	 * 库位属性ID
	 */
	@TableId("LOCATION_ATTR_ID")
	private Integer locationAttrId;

	/**
	 * 库位ID
	 */
	@TableField("LOC_ID")
    private Integer locId;

    /**
	 * 属性
	 */
	@TableField("ATTR")
	private String attr;

	/**
	 * 值
	 */
	@TableField("VALUE")
	private String value;

	/**
	 * 备注
	 */
	@TableField("COMMENTS")
	private String comments;

	/**
	 * 是否有效
	 */
	@TableField("IS_ENABLED")
	private Integer isEnabled;

}